﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace mozhi.smarterp.Business.EntityFrameworkCore;

public class BusinessHttpApiHostMigrationsDbContext : AbpDbContext<BusinessHttpApiHostMigrationsDbContext>
{
    public BusinessHttpApiHostMigrationsDbContext(DbContextOptions<BusinessHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureBusiness();
    }
}
